package com.lagou.edu.factory.annotation;

import java.lang.annotation.*;

/**
 * @Author: ZLY
 * @Date: 2020/10/14 23:26
 * @Description: dao层注解
 */
//运行注解位置(类)
@Target({ElementType.TYPE})
//注解保留位置(运行期)
@Retention(RetentionPolicy.RUNTIME)
public @interface Repository {

    /**
     * The value may indicate a suggestion for a logical component name,
     * to be turned into a Spring bean in case of an autodetected component.
     * @return the suggested component name, if any (or empty String otherwise)
     */
    String value() default "";

}
